package com.lashou.labelutil.service;

import java.util.List;

import com.lashou.labelutil.model.GoodsCategoryList;
import com.lashou.labelutil.model.GoodsProfileBean;

public interface ILabelService {

	public GoodsProfileBean findLastGoodsProfileBean();	
	//检查是否有需要编辑的记录 (goods_category_label_log size = goods_profile size)
	public boolean checkLabelStaut();
	//完成编辑
	public boolean closeEditLabel(GoodsProfileBean goodsprofile);
	
	public List<GoodsCategoryList> findAllGoodsCategoryList();
	
	public int getRemainCount();
	
	
	
	public List<GoodsProfileBean> findGoodsProfileByCategoryType(int categoryType, int startIndex, int count);
	
	public int findGoodsProfileTotal(int categoryType);
	
	
	public GoodsProfileBean findGoodsProfileBeanById(Integer goodsId);
	public List<GoodsProfileBean> findGoodsProfileBeanByTitle(String title);
	public boolean updateGoodsProfileBean(GoodsProfileBean goodsProfile);
	
	
	public List<GoodsProfileBean> findLastProfileByDate(String date,int startIndex,int count);
	public int findTotalLastProfilebyDate(String date);
}
